package com.lin.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lin.blog.vo.ArticleStatistical;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ArticleStatisticalMapper extends BaseMapper<ArticleStatistical> {

    /**
     * 获取文章统计
     * @return
     */
    public List<ArticleStatistical> getArticleStatistical();

    /**
     * 获取文章统计 通过username
     * @return
     */
    public List<ArticleStatistical> getArticleStatisticalByUsername(String username);
}
